package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品-资源语音讲解
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsGAudio对象", description="商品-资源语音讲解")
public class ZsGAudio extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资源语音讲解主键")
    @TableId(value = "ga_id", type = IdType.AUTO)
    private Integer gaId;

    @ApiModelProperty(value = "语音产品关联的资源ID")
    private Integer rId;

    @ApiModelProperty(value = "二级资源ID")
    private Integer rIdS;

    @ApiModelProperty(value = "序列号")
    private Integer serial;

    @ApiModelProperty(value = "商品主键")
    private Integer goodsId;

    @ApiModelProperty(value = "名称")
    private String ssmTitle;

    @ApiModelProperty(value = "产品类型，0单品 1打包产品 打包关系见语音关联关系表")
    private Boolean audioType;

    @ApiModelProperty(value = "音频文件保存位置")
    private String audioUrl;

    @ApiModelProperty(value = "语音的原始标题")
    private String originTitle;

    @ApiModelProperty(value = "语音时长")
    private String playtimeSeconds;


}
